package com.ly.system.domain.sysuser.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
//DTO接受前端传输的数据(只包含数据传输需要的字段)
public class LoginDTO {
    private String userAccount;
    private String password;

    @Getter
    @Setter
    public static class SysUserSaveDTO {

        @Schema(description = "用户账号")
        private String userAccount;
        @Schema(description = "用户密码")
        private String password;
    }
}
